package com.chinacoal.hr.levelapi.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author: YunTao.Li
 * @create: 2019-12-12 17:06
 * @description:
 **/
@Data
public class WorkItemEntity {
    private static final long serialVersionUID = 1L;

    private Long taskId;

    private Long processId;

    private String processName;

    private Long instanceId;

    private String instanceName;

    private Long activityInsId;

    private String activityId;

    private String activityName;

    private Long activityUser;

    private String activityUserName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale="zh", timezone="GMT+8")
    private Date startDate;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale="zh", timezone="GMT+8")
    private Date endDate;

    private String taskUrl;

    private String taskDesc;

    private String taskTitle;

    private Long submitUser;

    private String submitUserName;
}
